//
//  UIButtonL.m
//  rubaoduanzi
//
//  Created by 郝志华 on 16/9/13.
//  Copyright © 2016年 郝志华. All rights reserved.
//

#import "UIButtonL.h"

@implementation UIButtonL
- (void)layoutSubviews{
    [super layoutSubviews];
    self.imageView.center=CGPointMake(self.frame.size.width/3, self.frame.size.height/2);
    self.titleLabel.center=CGPointMake(self.frame.size.width*2/3, self.frame.size.height/2);

}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
